﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/ViewMasterPage1.Master" Inherits="System.Web.Mvc.ViewPage<ComputerShopE3.Models.SAN_PHAM>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Chi tiết</h2>

    <fieldset>
        <legend>Thông tin</legend>
        <p>
            id:
            <%= Html.Encode(Model.id) %>
        </p>
        <p>
            TenSanPham:
            <%= Html.Encode(Model.TenSanPham) %>
        </p>
        <p>
            MoTa:
            <%= Html.Encode(Model.MoTa) %>
        </p>
        <p>
            Gia:
            <%= Html.Encode(Model.Gia) %>
        </p>
        <p>
            idKhuyenMai:
            <%= Html.Encode(Model.idKhuyenMai) %>
        </p>
        <p>
            Diem:
            <%= Html.Encode(Model.Diem) %>
        </p>
        <p>
            SoLuongTon:
            <%= Html.Encode(Model.SoLuongTon) %>
        </p>
        <p>
            NgayThemSP:
            <%= Html.Encode(String.Format("{0:g}", Model.NgayThemSP)) %>
        </p>
        <p>
            BaoHanh:
            <%= Html.Encode(Model.BaoHanh) %>
        </p>
        <p>
            LoaiLinhKien:
            <%= Html.Encode(Model.LoaiLinhKien) %>
        </p>
        <p>
            LaLinhKien:
            <%= Html.Encode(Model.LaLinhKien) %>
        </p>
    </fieldset>
    <p>

        <%=Html.ActionLink("Chỉnh sửa", "Edit", new { id=Model.id }) %> |
        <%=Html.ActionLink("Trở về danh mục", "Index") %>
    </p>

</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
    <title>Sản phẩm</title>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="PersonalMenu" runat="server">
</asp:Content>

